<div id="main">
    <div id="content">
        <div class="prt-top-form sui-form">
            <!-- <a href="javascript:void(0);" class="sui-btn" id="print-view">预览</a> -->
            <a href="javascript:void(0);" class="sui-btn btn-success" id="save-content" style="">保存</a>
            <a href="javascript:void(0);" class="sui-btn btn-success" id="add-content" style="display:none">保存</a>
            <!--   <a href="javascript:void(0);" data-toggle="modal" data-target="#edit-temp-name" class="sui-btn btn-primary" id="saveother-content" style="">另存为</a> -->
            <span class="exp" style="">物流公司：</span>
            <span class="exp" style="margin: 0px;">
                     <carryway-type ng-model="shipping_corp" dft="1" ></carryway-type>
            </span>
            <!-- <span class="exp" style="">模板类型：</span>
            <span class="exp" style="margin: 0px;">
                     <sub-type ng-model="tep_type" dft="1" ></sub-type>
            </span> -->
            <span class="exp">模板名称</span>
            <input type="text" placeholder="输入模板名称" id="tmplate-name" class="input-medium mod-name" ng-model="tpname">
            <span class="exp">偏移校正</span>
            <input type="text" placeholder="" class="input-medium pap-size" id="x-offset" ng-model="x_offset" value="0">
            <span class="mul">×</span>
            <input type="text" placeholder="" class="input-medium pap-size" id="y-offset" ng-model="y_offset" value="0">
            <span class="exp">模板尺寸</span>
            <input type="text" placeholder="" ng-model="x_size" data-placement="bottom" data-toggle="tooltip" data-type="attention" title="输入数字后,回车生效" class="input-medium pap-size" id="x-size" value="" ng-blur="MbCc('x_size')" >
            <span class="mul">×</span>
            <input type="text" placeholder="" ng-model="y_size" class="input-medium pap-size" id="y-size" value="" ng-blur="MbCc('y_size')">
            <span class="unit">毫米</span>
            <!-- <label class="checkbox-pretty prt-logo" style="display: none;">
                    <input type="checkbox"><span>打印LOGO</span>
                </label> -->
            <span class="exp upload-img" style="display: none;">
                     <attachment owner-id="1" owner-type="print" dhf-ng-model="print.img" xtype="url" mult="false" title="上传背景图" use-type="png,jpeg,gif,jpg,JPG,PNG,JPEG,GIF" setback="getImage(attach)" xclass="sui-btn btn-link"></attachment>
            </span>
            


            <span class="exp upload-img" style="margin-left: -25px;"  ng-show="g_tp_img">
                <a href="javascript:void(0);" class="sui-btn btn-link" ng-click="delupImg()">/删除背景图</a>     
            </span>
        </div>

        <div class="prt-table-box">
            <div class="table-left">
                <a class="add-custom-ele">添加自定义文字</a>
               <!--  <a class="add-custom-ele" ng-click="additem()">添加外卖商品展示</a> -->
                <div class="prt-ele-list">
                    <div class="ele-cat open">
                        <span class="ele-cat-title">卖家信息</span>
                        <div class="ele-list">
                            <span class="kd-ele"><font>发件人-姓名</font><a id="sender_name" ng-click="adddataStyle($event)">添加</a></span>
                            <span class="kd-ele"><font >发件人-手机</font><a id="sender_phone" ng-click="adddataStyle($event)">添加</a></span>
                            <span class="kd-ele"><font >发件人-地址</font><a id="sender_address" ng-click="adddataStyle($event)">添加</a></span>
                            <span class="kd-ele"><font >发件日期</font><a  id="datatime" ng-click="adddataStyle($event)">添加</a></span>
                            <span class="kd-ele"><font >店铺名称</font><a id="store_name" ng-click="adddataStyle($event)">添加</a></span>
                        </div>
                    </div>
                    <div class="ele-cat close">
                        <span class="ele-cat-title">买家信息</span>
                        <div class="ele-list">
                            <span class="kd-ele"><font >收货人-姓名</font><a id="deliver_name" ng-click="adddataStyle($event)">添加</a></span>
                            <span class="kd-ele"><font >收货人-手机</font><a id="deliver_phone" ng-click="adddataStyle($event)">添加</a></span>
                            <span class="kd-ele"><font >收货人-地址</font><a id="deliver_address" ng-click="adddataStyle($event)">添加</a></span>
                        </div>
                    </div>
                    <div class="ele-cat close">
                        <span class="ele-cat-title">订单信息</span>
                        <div class="ele-list">
                            <span class="kd-ele"><font >留言</font><a id="note" ng-click="adddataStyle($event)">添加</a></span>
                            <span class="kd-ele"><font >备注</font><a id="remark" ng-click="adddataStyle($event)">添加</a></span>
                            <span class="kd-ele"><font >订单编号</font><a id="order_id" ng-click="adddataStyle($event)">添加</a></span>
                            <span class="kd-ele"><font >总金额</font><a id="total_fee" ng-click="adddataStyle($event)">添加</a></span>
                            <span class="kd-ele"><font >优惠总额</font><a id="discount_fee" ng-click="adddataStyle($event)">添加</a></span>
                            <span class="kd-ele"><font >支付金额</font><a id="payment" ng-click="adddataStyle($event)">添加</a></span>
                            <span class="kd-ele"><font >运费</font><a id="post_fee" ng-click="adddataStyle($event)">添加</a></span>
                            <span class="kd-ele"><font >拍下时间</font><a id="created_at" ng-click="adddataStyle($event)">添加</a></span>
                            <span class="kd-ele"><font >支付时间</font><a id="paid_time" ng-click="adddataStyle($event)">添加</a></span>
                            <span class="kd-ele"><font >支付方式</font><a id="payment_name" ng-click="adddataStyle($event)">添加</a></span>
                            <span class="kd-ele"><font >商品信息</font><a  id="item" ng-click="adddataStyle($event)">添加</a></span>
                        </div>
                    </div>
                    <div class="ele-cat close">
                        <span class="ele-cat-title">模板代码</span>
                        <div class="ele-list">
                            <span class="kd-ele"><font >模板代码</font> <a ng-click="addhtml()">添加</a></span>
                        </div>
                    </div>
                    <!--  <div class="ele-cat close" >
                            <span class="ele-cat-title">宝贝信息</span>
                            <div class="ele-list">
                                <span class="kd-ele"><font>宝贝简称</font><a>添加</a></span>
                                <span class="kd-ele"><font>宝贝数量</font><a>添加</a></span>
                            </div>
                        </div> -->
                    <!--  <div class="ele-cat close">
                            <span class="ele-cat-title">打印信息</span>
                            <div class="ele-list">
                                <span class="kd-ele"><font>年月日时分秒</font><a>添加</a></span>
                                <span class="kd-ele"><font>年月日</font><a>添加</a></span>
                                <span class="kd-ele"><font>年/月/日</font><a>添加</a></span>
                                <span class="kd-ele"><font>年-月-日</font><a>添加</a></span>
                                <span class="kd-ele"><font>打印人(登陆账户)</font><a>添加</a></span>
                                <span class="kd-ele"><font>打印流水号</font><a>添加</a></span>
                            </div>
                        </div> -->
                    <!-- <div class="ele-cat close" ng-repeat="info in printinfo">
                            <span class="ele-cat-title">{{info.name}}</span>
                            <div class="ele-list">
                                <span class="kd-ele"><font>宝贝简称</font><a>添加</a></span>
                                <span class="kd-ele"><font>宝贝数量</font><a>添加</a></span>
                            </div>
                        </div> -->
                </div>
            </div>
            <div class="table-right" style="display: block;">
                <div class="ctrl-bar sui-form">
                    <div class="sui-dropdown dropdown-bordered select ft-family">
                        <span class="dropdown-inner">
                                <a id="ex-family" role="button" href="javascript:void(0);" data-toggle="dropdown" class="dropdown-toggle">
                                    <input value="wh" name="city" type="hidden">
                                    <i class="caret"></i>
                                    <span>宋体</span>
                        </a>
                        <ul role="menu" aria-labelledby="drop1" class="sui-dropdown-menu">
                            <li role="presentation" class="active" name="宋体">
                                <a role="menuitem" tabindex="-1" href="javascript:void(0);" value="wh">宋体</a>
                            </li>
                            <li role="presentation" class="" name="黑体">
                                <a role="menuitem" tabindex="-1" href="javascript:void(0);" value="xy">黑体</a>
                            </li>
                            <li role="presentation" class="" name="微软雅黑">
                                <a role="menuitem" tabindex="-1" href="javascript:void(0);" value="hz">微软雅黑</a>
                            </li>
                            <li role="presentation" class="" name="方正准圆">
                                <a role="menuitem" tabindex="-1" href="javascript:void(0);" value="hz">方正准圆</a>
                            </li>
                        </ul>
                        </span>
                    </div>
                    <div class="sui-dropdown dropdown-bordered select ft-size">
                        <span class="dropdown-inner">
                                <a id="ex-size" role="button" href="javascript:void(0);" data-toggle="dropdown" class="dropdown-toggle">
                                    <input value="wh" name="city" type="hidden">
                                    <i class="caret"></i>
                                    <span>12px</span>
                        </a>
                        <ul role="menu" aria-labelledby="drop1" class="sui-dropdown-menu">
                            <li role="presentation" class="">
                                <a role="menuitem" tabindex="-1" href="javascript:void(0);" value="8">8px</a>
                            </li>
                            <li role="presentation" class="">
                                <a role="menuitem" tabindex="-1" href="javascript:void(0);" value="10">10px</a>
                            </li>
                            <li role="presentation" class="active">
                                <a role="menuitem" tabindex="-1" href="javascript:void(0);" value="12">12px</a>
                            </li>
                            <li role="presentation" class="">
                                <a role="menuitem" tabindex="-1" href="javascript:void(0);" value="14">14px</a>
                            </li>
                            <li role="presentation" class="">
                                <a role="menuitem" tabindex="-1" href="javascript:void(0);" value="16">16px</a>
                            </li>
                            <li role="presentation" class="">
                                <a role="menuitem" tabindex="-1" href="javascript:void(0);" value="18">18px</a>
                            </li>
                            <li role="presentation" class="">
                                <a role="menuitem" tabindex="-1" href="javascript:void(0);" value="20">20px</a>
                            </li>
                            <li role="presentation" class="">
                                <a role="menuitem" tabindex="-1" href="javascript:void(0);" value="22">22px</a>
                            </li>
                            <li role="presentation" class="">
                                <a role="menuitem" tabindex="-1" href="javascript:void(0);" value="24">24px</a>
                            </li>
                            <li role="presentation" class="">
                                <a role="menuitem" tabindex="-1" href="javascript:void(0);" value="22">22px</a>
                            </li>
                            <li role="presentation" class="">
                                <a role="menuitem" tabindex="-1" href="javascript:void(0);" value="36">36px</a>
                            </li>
                            <li role="presentation" class="">
                                <a role="menuitem" tabindex="-1" href="javascript:void(0);" value="38">38px</a>
                            </li>
                            <li role="presentation" class="">
                                <a role="menuitem" tabindex="-1" href="javascript:void(0);" value="48">48px</a>
                            </li>
                        </ul>
                        </span>
                    </div>
                    <a class="ctrl-bar-btn text-strong" data-placement="bottom" data-toggle="tooltip" data-type="attention" data-original-title="加粗"></a>
                    <a class="ctrl-bar-btn to-wrap checked" data-placement="bottom" data-toggle="tooltip" data-type="attention" data-original-title="可换行">可换行</a>
                    <span class="border"></span>
                    <a class="ctrl-bar-btn text-left" data-placement="bottom" data-toggle="tooltip" data-type="attention" title="文字内容左对齐"></a>
                    <a class="ctrl-bar-btn text-center" data-placement="bottom" data-toggle="tooltip" data-type="attention" title="文字内容居中对齐"></a>
                    <a class="ctrl-bar-btn text-right" data-placement="bottom" data-toggle="tooltip" data-type="attention" title="文字内容右对齐"></a>
                    <a class="sui-btn quote-all">应用到全部</a>
                    <!-- <a class="sui-btn upload-img" style="display: none;">设置背景图</a>
                        <form id="uploadFrom" style="display:none" action="" method="post" target="tarframe" enctype="multipart/form-data">
                            <input type="file" id="fileToUpload" name="fileToUpload" value="">
                            <iframe src="" width="0" height="0" style="display:none;" name="tarframe"></iframe>
                        </form> -->
                    <span class="exp" style="margin-left: 6px;">坐标</span>
                    <input type="text" placeholder="" id="x_margin" class="input-medium pap-size" data-placement="bottom" data-toggle="tooltip" data-type="info" title="设置选中标签的左上点坐标,输入数字后,回车生效" ng-model="x_margin">
                    <span class="mul">×</span>
                    <input type="text" placeholder="" id="y_margin" class="input-medium pap-size" >
                    <span class="exp">尺寸</span>
                    <input type="text" placeholder="" id="x_size" class="input-medium pap-size" data-placement="bottom" data-toggle="tooltip" data-type="info" title="设置选中标签的宽高,输入数字后,回车生效" ng-model="sx_size">
                    <span class="mul">×</span>
                    <input type="text" placeholder="" id="y_size" class="input-medium pap-size" ng-model="sy_size">
                    <a class="delete" style=" margin-left: 10px;">删除</a>
                    <a class="reload">重置</a>
                    <a ng-click="allrem()">清空模板</a>
                </div>
                <div class="canvas" style="width:920px;height:480px;background-repeat: no-repeat;">
                    <div class="staff-x">
                        <div class="for-position" style="left: 0px;">
                            <span class="cm">
                                    <span class="gra">1</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">2</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">3</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">4</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">5</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">6</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">7</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">8</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">9</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">10</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">11</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">12</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">13</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">14</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">15</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">16</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">17</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">18</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">19</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">20</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">21</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">22</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">23</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <!--  <span class="cm">
                                    <span class="gra">24</span>
                                    <i class="mm"></i>
                                    <i class="mm"></i>
                                    <i class="mm"></i>
                                    <i class="mm"></i>
                                    <i class="mm long"></i>
                                    <i class="mm"></i>
                                    <i class="mm"></i>
                                    <i class="mm"></i>
                                    <i class="mm"></i>
                                </span>
                                <span class="cm">
                                    <span class="gra">25</span>
                                    <i class="mm"></i>
                                    <i class="mm"></i>
                                    <i class="mm"></i>
                                    <i class="mm"></i>
                                    <i class="mm long"></i>
                                    <i class="mm"></i>
                                    <i class="mm"></i>
                                    <i class="mm"></i>
                                    <i class="mm"></i>
                                </span> -->
                        </div>
                    </div>
                    <div class="staff-y">
                        <div class="for-position" style="top: -4px;">
                            <span class="cm">
                                    <span class="gra">1</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">2</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">3</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">4</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">5</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">6</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">7</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">8</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">9</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">10</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">11</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">12</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">13</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">14</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">15</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">16</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">17</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">18</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">19</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">20</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">21</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">22</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">23</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">24</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">25</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">26</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">27</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">28</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">29</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                            <span class="cm">
                                    <span class="gra">30</span>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm long"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            <i class="mm"></i>
                            </span>
                        </div>
                    </div>
                    <div class="edit-box" >
                        <!--选中打印项-->
                        <div class="custom-box" style="width:400px;height:123px;display: none;background-repeat: no-repeat;">
                        </div>
                    </div>
                    <div class="loading" style="display: none">
                        <div class="sui-loading loading-xsmall loading-inline"><i class="sui-icon icon-pc-loading"></i><span>上传中...</span></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!--添加自定义标签-->
<div id="pop-add-newprint" tabindex="-1" data-keyboard="false" data-backdrop="static" role="dialog" data-hasfoot="false" class="sui-modal hide fade add-pop">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" id="addcuifu" data-dismiss="modal" aria-hidden="true" class="sui-close">×</button>
                <h4 id="myModalLabel" class="modal-title">添加自定义标签</h4>
            </div>
            <div class="modal-body sui-form">
                <textarea rows="6"  cols="60" class="add-text" placeholder="请输入文字内容" id="confirmcontent" ng-model="zdyconten"></textarea>
            </div>
            <div class="modal-footer">
                <button type="button" data-dismiss="modal" class="sui-btn btn-default btn-large">取消</button>
                <button type="button" class="sui-btn btn-primary btn-large"  ng-click="adddataStylezdy($event)">确定</button>
            </div>
        </div>
    </div>
</div>
<div id="pop-add-newprint-html" tabindex="-1" data-keyboard="false" data-backdrop="static" role="dialog" data-hasfoot="false" class="sui-modal hide fade add-pop">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" id="addcuifu" data-dismiss="modal" aria-hidden="true" class="sui-close">×</button>
                <h4 id="myModalLabel" class="modal-title">添加自定义标签</h4>
            </div>
            <div class="modal-body sui-form">
                <textarea rows="6"  cols="60" class="add-text" placeholder="请输入文字内容" ng-model="tmphtml" class="input-xlarge"></textarea>
            </div>
            <div class="modal-footer">
                <button type="button" data-dismiss="modal" class="sui-btn btn-default btn-large">取消</button>
                <button type="button" class="sui-btn btn-primary btn-large"  ng-click="additem()">确定</button>
            </div>
        </div>
    </div>
</div>
<!--另存为-->
<div id="edit-temp-name" tabindex="-1" role="dialog" data-backdrop="static" class="sui-modal hide">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" data-dismiss="modal" aria-hidden="true" class="sui-close">×</button>
                <h4 id="myModalLabel" class="modal-title">模板另存为</h4>
            </div>
            <div class="modal-body sui-form">
                <span class="temp-name">模板名称：</span>
                <input type="text" id="othertplname" class="input-large complex-input">
            </div>
            <div class="modal-footer">
                <button type="button" data-dismiss="modal" class="sui-btn btn-default">取消</button>
                <button type="button" id="saveothertpl" class="sui-btn btn-primary">确定</button>
            </div>
        </div>
    </div>
</div>